package com.esri.core.internal.tasks.ags;

import com.esri.core.internal.tasks.TaskListener;
import com.esri.core.io.UserCredentials;
import java.io.File;

/* loaded from: classes.dex */
public class aq extends com.esri.core.internal.tasks.d<ap> {
    private static final int a = 2097152;
    private static final long serialVersionUID = 1;

    public aq(ar arVar, String str, UserCredentials userCredentials) {
        super(arVar, str, userCredentials);
    }

    public aq(ar arVar, String str, UserCredentials userCredentials, TaskListener<ap> taskListener) {
        super(arVar, str, userCredentials, taskListener);
    }

    @Override // com.esri.core.internal.tasks.a
    /* renamed from: a */
    public ap execute() throws Exception {
        ar arVar = (ar) getActionInput();
        File a2 = arVar.a();
        if (a2.exists()) {
            return a(a2, arVar.b(), getServiceCredentials());
        }
        return new ap();
    }

    /* JADX WARN: Removed duplicated region for block: B:48:0x016e  */
    /* JADX WARN: Removed duplicated region for block: B:50:0x0173 A[DONT_GENERATE] */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct code enable 'Show inconsistent code' option in preferences
    */
    private com.esri.core.internal.tasks.ags.ap a(java.io.File r23, java.lang.String r24, com.esri.core.internal.io.handler.n r25) throws java.lang.Exception {
        /*
            Method dump skipped, instructions count: 388
            To view this dump change 'Code comments level' option to 'DEBUG'
        */
        throw new UnsupportedOperationException("Method not decompiled: com.esri.core.internal.tasks.ags.aq.a(java.io.File, java.lang.String, com.esri.core.internal.io.handler.n):com.esri.core.internal.tasks.ags.ap");
    }
}
